package com.openlogic.common.plugins.db.mysql.param;

import java.util.Date;

import org.noear.solon.validation.annotation.NotBlank;

import com.openlogic.common.plugins.db.api.dto.BaseDataSourceColumnDto;

/**
 * @ClassName: MySQLDataSourceColumnDTO
 * @Description: MYSQL数据源列DTO
 * @author weiyongpeng
 * @date 2024年11月28日 上午9:40:32
 */
public class MySQLDataSourceColumnDTO extends BaseDataSourceColumnDto {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@NotBlank(message = "主键ID不能为空"/* , groups = { V_E.class } */)
	private String id;

	/**
	 * 所属数据源ID
	 */
	private String sourceId;

	/**
	 * 所属数据表
	 */
	private String tableId;

	private String sourceName;

	private String tableName;

	private String tableComment;

	private Date createTime;

	private String createBy;

	private Date updateTime;

	private String updateBy;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

}
